package com.yanqu.road.entity.log.cross.tongbing.normal;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_tongbing_log_npc_event", desc = "普通统兵-NPC事件日志", autoSave = true, uploadCk = true, isCross = true)
public class LogTongBingNpcEvent extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "类型：1生成，2完成")
    private int type;
    @FieldTypeAnnotation(desc = "事件ID")
    private int eventId;
    @FieldTypeAnnotation(desc = "选项")
    private int param;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "商会活动分组ID")
    private int groupId;

    public LogTongBingNpcEvent(int activityId, long userId, int type, int eventId, int param, String reward, int groupId) {
        this.activityId = activityId;
        this.userId = userId;
        this.type = type;
        this.eventId = eventId;
        this.param = param;
        this.reward = reward;
        this.groupId = groupId;
    }

    public long getUserId() {
        return userId;
    }

}

